package com.ruoyi.leave.service;

import com.ruoyi.leave.domain.LeaveRecord;

import java.util.List;

/**
 * 请假记录Service接口
 * 
 * @author Weiney
 * @date 2025-03-11
 */
public interface ILeaveTeacherRecordService
{
    /**
     * 查询请假记录
     * 
     * @param leaveId 请假记录主键
     * @return 请假记录
     */
    public LeaveRecord selectLeaveTeacherRecordByLeaveId(Long leaveId);

    /**
     * 查询请假记录列表
     * 
     * @param leaveRecord 请假记录
     * @return 请假记录集合
     */
    public List<LeaveRecord> selectLeaveTeacherRecordList(LeaveRecord leaveRecord);

    /**
     * 新增请假记录
     * 
     * @param leaveRecord 请假记录
     * @return 结果
     */
    public int insertLeaveTeacherRecord(LeaveRecord leaveRecord);

    /**
     * 修改请假记录
     * 
     * @param leaveRecord 请假记录
     * @return 结果
     */
    public int updateLeaveTeacherRecord(LeaveRecord leaveRecord);

    /**
     * 批量删除请假记录
     * 
     * @param leaveIds 需要删除的请假记录主键集合
     * @return 结果
     */
    public int deleteLeaveTeacherRecordByLeaveIds(Long[] leaveIds);

    /**
     * 删除请假记录信息
     * 
     * @param leaveId 请假记录主键
     * @return 结果
     */
    public int deleteLeaveTeacherRecordByLeaveId(Long leaveId);
}
